<?php require_once($_SERVER['DOCUMENT_ROOT'] . '/static/db/connect.php');
$sql = " select id,title,outline,date from $tableName where status > 0 ORDER BY sort DESC, date DESC ";
include($_SERVER['DOCUMENT_ROOT'] . "/includes/common_paging.php");
?>
<?php if (isset($rows)) {
    foreach ($rows as $row): ?>
        <!-- 一个横块-Start -->
        <p class="notification-page-item">
            <!--可在此加图片: <img src="" alt="img">-->
            <em>
                <span class="myp">[<?php echo $row['id']; ?>] <?php echo $row['title']; ?></span><br>
                <?php echo $row['outline']; ?>
            </em>
            <a href="/hush-Inn/skill/fe_article.php/<?php echo $row['id']; ?>.tn">阅读全文</a>
            <a><?php echo date('d M. Y', strtotime($row['date'])); ?></a>
        </p>
        <div class="decoration"></div>
        <!-- 一个横块-End -->
    <?php endforeach;
} ?>

<!-- 一个横块-Start -->
<!--                <p class="notification-page-item">-->
<!--                    <img src="images/pictures/1s.jpg" alt="img">-->
<!--                    <em>-->
<!--                        <span class="myp">保留示例</span><br>-->
<!--                        简介位置。-->
<!--                    </em>-->
<!--                    <a href="#">阅读全文</a>-->
<!--                    <a>25 Sept. 2015</a>-->
<!--                </p>-->
<!--                <div class="decoration"></div>-->
<!-- 一个横块-End -->
